#ifndef _APPS_BDESKTOP_CTEXTITEM_H_
#define _APPS_BDESKTOP_CTEXTITEM_H_

#include "ctopbaritem.h"
#include <buola/utility/usignal.h>

namespace buola { namespace bdesktop {

class CTextItem : public CTopBarItem
{
public:
    CTextItem(const std::wstring &pString);
    virtual ~CTextItem();

public:
    virtual double GetWidth();
    virtual void Draw(CGC *pGC);
    virtual void OnClick(gui::CMouseEvent *pE);

    USignal<void()> sClicked;

    std::wstring mString;
};

/*namespace bdesktop*/ } /*namespace buola*/ }

#endif
